<template>
	<div id='tmlp'>
		<mt-swipe :auto="2000">
			<mt-swipe-item v-for='item in imgs'> 
				<img :src='item.img'>
			</mt-swipe-item>
		</mt-swipe>
	</div>
</template>

<script>
	export default{
		props:['imgs'] //用来接收父组件传入过来的数据
	}

</script>

<style scoped>
	.mint-swipe{
		height: 380px;
		margin:5px;
	}
	.mint-swipe-items-wrap img{width: 100%;}
	.mint-swipe-item{
		width:100%;
		height:260px
	}
</style>